package com.demo.design.behavioral.template;

public class TemplateMain {
    public static void main(String[] args) {
        System.err.println("上班的一天");
        OneDayTemplate inLowan  = new LowanOneDay();
        inLowan.oneDayDoSomeThing();
        System.err.println("周末的一天");
        OneDayTemplate inHome = new SunDay();
        inHome.oneDayDoSomeThing();
    }
}
